<div class="header_menu">
    <div class="container">
        <div class="header-nav clearfix">
            <?php echo $this->partial('shop/layout/headerMenu'); ?>
        </div>
    </div>
</div>
</div>

<div class="container breadcrumbs">
    <a href="<?php echo $this->url('shop'); ?>"><?php echo $this->translate('首页'); ?></a><span class="sep">/</span>
    <span><?php echo $this->escapeHtml($this->otherTagInfo->getOtherTagTitle()); ?></span>
</div>

<div class="container">

    <div class="xm-line-box goods-list-box">
        <div class="box-bd">
            <div class="goods-list-section">
                <div class="xm-goods-list-wrap xm-goods-list-wrap-col20" style="padding-bottom: 60px;">
                    <ul class="xm-goods-list clearfix">
                        <?php
                        if ($this->tagGoodsList) { foreach ($this->tagGoodsList as $goodsValue) {
                            $goodsName = $this->escapeHtml($goodsValue['goodsName']);
                            ?>
                            <li class="">
                                <div class="xm-goods-item">
                                    <div class="item-thumb"> <a target="_blank" href="<?php echo $this->url('shop-goods', ['id' => $goodsValue[0]->getGoodsId()]); ?>" title="<?php echo $goodsName; ?>"> <img alt="<?php echo $goodsName; ?>" src="" data-original="<?php echo $this->shopHelper()->baseGoodsImagePath($goodsValue['goodsThumbnailImage']); ?>" class="lazy"></a></div>
                                    <div class="item-info">
                                        <div class="item-price"> <span><?php echo (isset($goodsValue['goodsGroupPrice']) && $goodsValue['goodsGroupPrice'] > 0) ? $this->frontCurrency($goodsValue['goodsGroupPrice']) : $this->frontCurrency($goodsValue['goodsPrice']); ?></span><?php if($goodsValue['goodsMarketPrice'] > 0) { ?><span class="sep">|</span><del><?php echo $this->frontCurrency($goodsValue['goodsMarketPrice']); ?></del> <?php } ?></div>
                                        <h3 class="item-title"> <a target="_blank" href="<?php echo $this->url('shop-goods', ['id' => $goodsValue[0]->getGoodsId()]); ?>" title="<?php echo $goodsName; ?>"><?php echo $goodsName; ?></a> </h3>
                                        <div class="item-star"><?php echo $this->escapeHtml($goodsValue['goodsExtendName']); ?></div>
                                        <div class="item-actions item_goods_<?php echo $goodsValue[0]->getGoodsId(); ?>">
                                            <a onclick="addCart(<?php echo $goodsValue[0]->getGoodsId(); ?>);" href="javascript: void(0);" class="btn btn-small btn-primary btn-a-url J_addCart"><i class="iconfont"></i><?php echo $this->translate('购物车'); ?></a>
                                            <a onclick="addFav(<?php echo $goodsValue[0]->getGoodsId(); ?>);" href="javascript: void(0);" class="btn btn-dake btn-small btn-a-url J_addFav"><i class="iconfont"></i><?php echo $this->translate('收藏'); ?></a>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        <?php } } ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
